{load_language_text section="product_listing"} {block name="filter"} {if isset($FILTER_SELECTION_ARRAY) && count($FILTER_SELECTION_ARRAY) > 0}
{else}
{/if} {block name="filter_title"}

{$txt.text_current_filter}

{/block} {foreach name=filter_selection item=feature from=$FILTER_SELECTION_ARRAY} {block name="filter_list"}

{block name="filter_list_filter"}
- {$feature.feature_name}: {block name="filter_sublist"}
  {assign var="feature_value_count" value=$feature.feature_values|count} {foreach name=filter_values_selection item=feature_value from=$feature.feature_values} {block name="filter_sublist_values"}
  - {$feature_value}{if $feature_value_count > 1 && $smarty.foreach.filter_values_selection.last !== true}, {/if}
  {/block} {/foreach}
  {/block}
{/block}

{/block} {/foreach}
{/block}